package labilabyrinth.serializable;

import java.io.Serializable;


import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.PointF;

public abstract class Hole implements Serializable{
	
	/**
	 * trieda reprezentuje diery na ploche
	 */
	private static final long serialVersionUID = 1L;
	protected int diameter;
	protected int drawSize;
	protected MyPointF center;
	protected MyRectF touchableRect;
	protected final int color = Color.parseColor("#000000");
	
	public abstract MyPointF getCenter();
	
	public abstract void draw(Canvas c, Bitmap bmp);
	
	public abstract Hole isInHole(PointF center);

}
